#ifndef ENCRPTY_H
#define ENCRPTY_H
#include <string>

class encrpty
{
public:
    encrpty();
    //将strhex中的hex转换成对应的值
    int strhex_to_strbyte(std::string strhex, std::string &strbyte);
    //将strbyte中的每个字节转换成
    int strbyte_to_strhex(std::string strbyte, std::string &strhex);

    int strencrpty(std::string strsrc, std::string &strdst, unsigned int key);

    int decrypted(std::string strsrc, std::string &strdst, unsigned int key);
};

#endif // ENCRPTY_H
